home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / text / edit / Smartindent.lha / Smartindent / Source / test_input.lisp < prev    next >
Text File  |  1997-12-14  |  959b  |  70 lines

  1. ; Don't think about this code...
  2. ; It is nonsense, but shows several posibilities than can occure in real
  3. ; live. When you can think of anything else to be tested, please mail an
  4. ; according piece of code to me.
  5. ;
  6. ; For more about testing read the file test_c_input.c
  7. ;
  8. ; Matthias Hopf <mshopf@informatik.uni-erlangen.de>
  9.  
  10. ;  First column comment
  11. ;another one
  12. ;;  double ;; comment
  13. ;;another one
  14.  ;  indented comment
  15.  ;another one
  16. (command);comment in regular line
  17. (command ;comment
  18.      arguments
  19.      of command
  20. )
  21.  
  22. (simple command with (args in one line))
  23. (   simple command some spaces away from braces   ) ; !!!BUG!!!
  24. (simple
  25. command
  26. with
  27. (args
  28. in
  29. multiple
  30. (lines)
  31. )
  32. )
  33.  
  34. (
  35. simple
  36. command
  37. (
  38. in
  39. multiple
  40. lines
  41. )
  42. )
  43. (
  44. ending
  45. brace
  46. in
  47. (
  48. the
  49. same
  50. line))
  51. (multiple
  52. ending
  53. (braces
  54. in
  55. (
  56. one
  57. line after
  58. the last argument
  59. ))) ; !!!BUG!!!
  60. (strings as
  61. arguments
  62. "asdfadsfad")
  63. (sdf)
  64. (command with (multiple arguments and a
  65. later one
  66. ended in a lonley line
  67. )
  68.   (another arg)
  69. )
  70.